package com.gopay.common.domain.cbrmb.customs.base;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import com.gopay.common.constants.cbrmb.customs.NameSpace;

/**
 * 
 * @ClassName: PaymentReturn 
 * @Description: 支付回执信息 
 * @author gd.cui 
 * @date 2017年1月20日 下午3:17:44
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "guid", "payCode", "payTransactionId", "returnStatus", "returnTime", "returnInfo" })
@XmlRootElement(name = "PaymentReturn", namespace = NameSpace.NAMESPACE_CEB_URI)
public class PaymentReturn {
	/**
	 * 电子口岸生成36位唯一序号（英文字母大写）
	 */
	@XmlElement(name = "guid", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
    private String guid;
    
	
	/**
	 * 支付企业的海关注册登记编号。
	 */
	@XmlElement(name = "payCode", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
    private String payCode;
    
	/**
	 * 支付企业唯一的支付流水号。
	 */
	@XmlElement(name = "payTransactionId", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
    private String payTransactionId;
    
	/**
	 * 操作结果（2电子口岸申报中/3发送海关成功/4发送海关失败/100海关退单/120海关入库）,若小于0数字表示处理异常回执
	 */
	@XmlElement(name = "returnStatus", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
    private String returnStatus;
    
	
	/**
	 * 操作时间(格式:YYYYMMDDhhmmssSSS)
	 */
	@XmlElement(name = "returnTime", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
    private String returnTime;
    
	/**
	 * 备注（如:退单原因）
	 */
	@XmlElement(name = "returnInfo", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
    private String returnInfo;

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getPayCode() {
		return payCode;
	}

	public void setPayCode(String payCode) {
		this.payCode = payCode;
	}

	public String getPayTransactionId() {
		return payTransactionId;
	}

	public void setPayTransactionId(String payTransactionId) {
		this.payTransactionId = payTransactionId;
	}

	public String getReturnStatus() {
		return returnStatus;
	}

	public void setReturnStatus(String returnStatus) {
		this.returnStatus = returnStatus;
	}

	public String getReturnTime() {
		return returnTime;
	}

	public void setReturnTime(String returnTime) {
		this.returnTime = returnTime;
	}

	public String getReturnInfo() {
		return returnInfo;
	}

	public void setReturnInfo(String returnInfo) {
		this.returnInfo = returnInfo;
	}
	
}
